package com.wlscale.roadsystem.modular.login;

import android.view.View;
import android.widget.Button;

import com.wlscale.roadsystem.R;
import com.wlscale.roadsystem.base.LZBaseActivity;
import com.wlscale.roadsystem.modular.MainActivity;

/**
 * 登录
 */
public class LoginActivity extends LZBaseActivity implements View.OnClickListener {
    /**
     * 登录按钮
     */
    private Button btn_login;

    @Override
    public void initlayoutResID() {
        setContentView(R.layout.activity_login);
    }

    @Override
    public void initBundle() {

    }

    @Override
    public void initView() {
        btn_login = findViewById(R.id.btn_login);
        btn_login.setOnClickListener(this);
    }

    @Override
    public void initHeader() {

    }

    @Override
    public void initLoadingView() {

    }

    @Override
    public void initData() {

    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.btn_login:
                goActivity(MainActivity.class);
                finishActivity();
                break;
        }
    }
}
